package com.xszx.service;

import com.xszx.entity.TDept;
import com.xszx.entity.TUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 34129
* @description 针对表【t_user】的数据库操作Service
* @createDate 2024-01-08 20:40:47
*/
public interface TUserService extends IService<TUser> {

    TUser isOnly(String phone, String idcard);

    TUser isAccount(String account);

    void addUser(TUser tUser2);

    List<TUser> selectUser();

    TUser getUserByAccount(String account);

    int ifUnameAndPwd(TUser user);

    void perfectUser(TUser tUser);

    void deleteUserById(int i);

    TDept getUserDeptByDid(long did);

    void updateUser(TUser user);

    List<TUser> selectUser(TUser tUser);
}
